<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EasyIO-GPRS-Framework: api_type.h源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 制作者 Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>api_type.h</h1>  </div>
</div>
<div class="contents">
<a href="api__type_8h.html">浏览该文件的文档。</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef __api_type_h__</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define __api_type_h__</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#define EIResult_t int</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span>
<a name="l00019"></a><a class="code" href="structGprsNetworkOption.html">00019</a> <span class="keyword">struct </span><a class="code" href="structGprsNetworkOption.html">GprsNetworkOption</a> {
<a name="l00020"></a>00020         <span class="keywordtype">char</span> apn[8];
<a name="l00021"></a>00021         <span class="keywordtype">char</span> open_gprs_flag;
<a name="l00022"></a>00022 };
<a name="l00023"></a>00023 
<a name="l00024"></a><a class="code" href="structTcpcliOption.html">00024</a> <span class="keyword">struct </span><a class="code" href="structTcpcliOption.html">TcpcliOption</a> {
<a name="l00025"></a><a class="code" href="structTcpcliOption.html#aca91706012ebd25dbac0cd2c43ac7ef8">00025</a>         <span class="keywordtype">char</span> <a class="code" href="structTcpcliOption.html#aca91706012ebd25dbac0cd2c43ac7ef8">host</a>[64];                          
<a name="l00026"></a><a class="code" href="structTcpcliOption.html#a74150dee92ed5feb7e49cfc66dad9dd1">00026</a>         <span class="keywordtype">char</span> <a class="code" href="structTcpcliOption.html#a74150dee92ed5feb7e49cfc66dad9dd1">port</a>[8];                           
<a name="l00027"></a><a class="code" href="structTcpcliOption.html#a8a02430039b2d0cadb6e6cab4513981c">00027</a>         <span class="keywordtype">int</span> <a class="code" href="structTcpcliOption.html#a8a02430039b2d0cadb6e6cab4513981c">heartbeat_cycle</a>;                    
<a name="l00028"></a><a class="code" href="structTcpcliOption.html#a79c0292d09ca3576c17e389891194d3c">00028</a>         <span class="keywordtype">char</span> <a class="code" href="structTcpcliOption.html#a79c0292d09ca3576c17e389891194d3c">heartbeat_buffer</a>[32];              
<a name="l00029"></a><a class="code" href="structTcpcliOption.html#aed58fad7e6123e8102f3ab0a62fce2c9">00029</a>         <span class="keywordtype">int</span> <a class="code" href="structTcpcliOption.html#aed58fad7e6123e8102f3ab0a62fce2c9">heartbeat_len</a>;                      
<a name="l00030"></a>00030 };
<a name="l00031"></a>00031 
<a name="l00032"></a><a class="code" href="structXmppOption.html">00032</a> <span class="keyword">struct </span><a class="code" href="structXmppOption.html">XmppOption</a> {
<a name="l00033"></a><a class="code" href="structXmppOption.html#a9c4233af65e244f7f4994c140ff465a9">00033</a>         <span class="keywordtype">char</span> <a class="code" href="structXmppOption.html#a9c4233af65e244f7f4994c140ff465a9">username</a>[32];                              
<a name="l00034"></a><a class="code" href="structXmppOption.html#aecb667b8ea6e9e581cb5ca533b79d0b3">00034</a>         <span class="keywordtype">char</span> <a class="code" href="structXmppOption.html#aecb667b8ea6e9e581cb5ca533b79d0b3">password</a>[32];                              
<a name="l00035"></a><a class="code" href="structXmppOption.html#ac06f917e391e3d16c9012d469ec17f55">00035</a>         <span class="keywordtype">char</span> <a class="code" href="structXmppOption.html#ac06f917e391e3d16c9012d469ec17f55">domain</a>[64];                                
<a name="l00036"></a><a class="code" href="structXmppOption.html#a9451cbf4a025b254c950678f8e962aae">00036</a>         <span class="keywordtype">char</span> <a class="code" href="structXmppOption.html#a9451cbf4a025b254c950678f8e962aae">port</a>[8];                                   
<a name="l00037"></a><a class="code" href="structXmppOption.html#aeb599ffd18d08a473c6635dd9882a99d">00037</a>         <span class="keywordtype">char</span> <a class="code" href="structXmppOption.html#aeb599ffd18d08a473c6635dd9882a99d">host</a>[64];                                  
<a name="l00038"></a>00038 };
<a name="l00039"></a>00039 
<a name="l00040"></a><a class="code" href="structEasyIoOption.html">00040</a> <span class="keyword">struct </span><a class="code" href="structEasyIoOption.html">EasyIoOption</a> {
<a name="l00041"></a><a class="code" href="structEasyIoOption.html#a41c4235635b56ab8d0be39c4b8c59b4f">00041</a>         <span class="keywordtype">char</span> <a class="code" href="structEasyIoOption.html#a41c4235635b56ab8d0be39c4b8c59b4f">password</a>[32];                              
<a name="l00042"></a>00042 };
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 
<a name="l00046"></a><a class="code" href="structSysInfo.html">00046</a> <span class="keyword">struct </span><a class="code" href="structSysInfo.html">SysInfo</a> {
<a name="l00047"></a><a class="code" href="structSysInfo.html#a859b5e8cc7b33fc327a1a8b9d6de90f9">00047</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structSysInfo.html#a859b5e8cc7b33fc327a1a8b9d6de90f9">uptime</a>;                            
<a name="l00048"></a><a class="code" href="structSysInfo.html#aeba9b3707e60f739684b6f2b4daa3d86">00048</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structSysInfo.html#aeba9b3707e60f739684b6f2b4daa3d86">totalmem</a>;                          
<a name="l00049"></a><a class="code" href="structSysInfo.html#ab89804f29011cfd29ccf8f94018799d4">00049</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structSysInfo.html#ab89804f29011cfd29ccf8f94018799d4">freemem</a>;                           
<a name="l00050"></a><a class="code" href="structSysInfo.html#ab033b9a1257b882c387f5de43a0b86f4">00050</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structSysInfo.html#ab033b9a1257b882c387f5de43a0b86f4">usemem</a>;                            
<a name="l00051"></a>00051 };
<a name="l00052"></a>00052 
<a name="l00053"></a><a class="code" href="structGsmLocInfo.html">00053</a> <span class="keyword">struct </span><a class="code" href="structGsmLocInfo.html">GsmLocInfo</a> {
<a name="l00054"></a><a class="code" href="structGsmLocInfo.html#a434cafa4760be7c30d289838aaaaa441">00054</a>         <span class="keywordtype">char</span> <a class="code" href="structGsmLocInfo.html#a434cafa4760be7c30d289838aaaaa441">longitude</a>[16];                             
<a name="l00055"></a><a class="code" href="structGsmLocInfo.html#a05994269fca735d7483e716f2403aff1">00055</a>         <span class="keywordtype">char</span> <a class="code" href="structGsmLocInfo.html#a05994269fca735d7483e716f2403aff1">latitude</a>[16];                              
<a name="l00056"></a><a class="code" href="structGsmLocInfo.html#afb6ecb145fc70a06df0ab58ed09f1fa6">00056</a>         <span class="keywordtype">char</span> <a class="code" href="structGsmLocInfo.html#afb6ecb145fc70a06df0ab58ed09f1fa6">date</a>[16];                                  
<a name="l00057"></a><a class="code" href="structGsmLocInfo.html#abb96553c1b9ea813bd4f9b9a4b1ee375">00057</a>         <span class="keywordtype">char</span> <a class="code" href="structGsmLocInfo.html#abb96553c1b9ea813bd4f9b9a4b1ee375">time</a>[16];                                  
<a name="l00058"></a>00058 };
<a name="l00059"></a>00059 
<a name="l00060"></a><a class="code" href="structNetworkOption.html">00060</a> <span class="keyword">struct </span><a class="code" href="structNetworkOption.html">NetworkOption</a> {
<a name="l00061"></a><a class="code" href="structNetworkOption.html#a17949ce2bc013293a077c3d5da6d286a">00061</a>         <span class="keywordtype">char</span> <a class="code" href="structNetworkOption.html#a17949ce2bc013293a077c3d5da6d286a">Contype</a> [16];                              
<a name="l00062"></a><a class="code" href="structNetworkOption.html#ab78836318985d32276331361b9d74848">00062</a>         <span class="keywordtype">char</span> <a class="code" href="structNetworkOption.html#ab78836318985d32276331361b9d74848">APN</a> [16];                                  
<a name="l00063"></a>00063 };
<a name="l00064"></a>00064 
<a name="l00065"></a><a class="code" href="api__type_8h.html#adf1e6fc05557646a909aa64a978bec85">00065</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00066"></a><a class="code" href="api__type_8h.html#adf1e6fc05557646a909aa64a978bec85ab165ff7c1df7437cd8d88ad60f486e13">00066</a>         SYSEVENT_TCP_DISCONNECT,                
<a name="l00067"></a><a class="code" href="api__type_8h.html#adf1e6fc05557646a909aa64a978bec85aa4dc3980c4a86be209b500336507c11b">00067</a>         SYSEVENT_TCP_CONNECTED,                 
<a name="l00068"></a><a class="code" href="api__type_8h.html#adf1e6fc05557646a909aa64a978bec85a463f7ad2326ffefaa9ac1564ef355553">00068</a>         SYSEVENT_XMPP_DISCONNECT,               
<a name="l00069"></a><a class="code" href="api__type_8h.html#adf1e6fc05557646a909aa64a978bec85a12190959e10c06e872ed6e9b3a64dd57">00069</a>         SYSEVENT_XMPP_CONNECTED,                
<a name="l00070"></a>00070         SYSEVENT_NULL
<a name="l00071"></a>00071 }SYSEVENT;
<a name="l00072"></a>00072 
<a name="l00073"></a><a class="code" href="api__type_8h.html#a97074c88aa90a92d0e3a116aeff41d89">00073</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00074"></a><a class="code" href="api__type_8h.html#a97074c88aa90a92d0e3a116aeff41d89accce6800e27585a73e2ade99a87c77bd">00074</a>         SMS_LISTENER,                           
<a name="l00075"></a><a class="code" href="api__type_8h.html#a97074c88aa90a92d0e3a116aeff41d89a2584760fed78ed467ab2c905c4ad50a6">00075</a>         WEICHAT_LISTENER,                       
<a name="l00076"></a><a class="code" href="api__type_8h.html#a97074c88aa90a92d0e3a116aeff41d89a91f569b1ed6d2b8cbb2ca52ece65ff4e">00076</a>         TCP_LISTENER,                           
<a name="l00077"></a><a class="code" href="api__type_8h.html#a97074c88aa90a92d0e3a116aeff41d89a0aa70e106b8f111a0c5ec49091d99177">00077</a>         RING_LISTENER,                          
<a name="l00078"></a>00078 }LISTENERTYPE;
<a name="l00079"></a>00079 
<a name="l00080"></a>00080 
<a name="l00081"></a>00081 <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00082"></a>00082         EI_ADC0,
<a name="l00083"></a>00083         EI_ADC1,
<a name="l00084"></a>00084         EI_ADC_NULL
<a name="l00085"></a>00085 }ADC_PORT;
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00088"></a>00088         USART_PORT_1 = 0,
<a name="l00089"></a>00089         USART_PORT_2,
<a name="l00090"></a>00090 }USART_PORT_NUM;
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 
<a name="l00093"></a>00093 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated at Fri Mar 28 2014 11:51:07 for EasyIO-GPRS-Framework by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
